home *** CD-ROM | disk | FTP | other *** search
- ;OCL{{{}}}
- ;OCL{{{ comments
- ; delete all spaces from cursor to next non-space-char or end-of-line.
- ;OCL}}}
- @if-using not(ocl-file-delspaces)
- @use (ocl-file-delspaces)
- ;OCL{{{ libs
- @if-using not(ocl-file-delchar) @lib delchar @fi
- ;OCL}}}
- ;OCL{{{ delspaces
- ( deffun delspaces
- ( if in-prompt ( return-from-macro ) fi
- if last-message M_ERR_PO () fi
- " ;
- while and(last-message M_ERR_PO not(test-begin-line))
- ( forward-character
- " ;
- )
- delete-previous-character
- while and(test-char-set blank not(test-end-line))
- ( delete-character
- if last-message M_ERR_PO ( forward-character ) fi
- )
- )
- )
- ;OCL}}}
- @fi
-